﻿using Microsoft.Extensions.Configuration;
using Volo.Abp.AutoMapper;
using Volo.Abp.BackgroundJobs.Hangfire;
using Volo.Abp.Modularity;

namespace Colorful.Furniture.BackgroundManagement;

/// <summary>
///  后台作业
/// </summary>
[DependsOn(typeof(AbpBackgroundJobsHangfireModule))]
public class BackgroundModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        //后台任务的映射
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddProfile<BackgroundAutoMapperProfile>();
        });

    }

}